# LuckPay Web Manage System
#
# Copyright (c) 2016 Lucky Byte, Inc.
#

$ ->
    # 查询日期改变时，重置起始页
    $('.ui.calendar input[name=start_date]').focus ->
        $('form#search_form').form 'set value', 'page_no', 1
    $('.ui.calendar input[name=end_date]').focus ->
        $('form#search_form').form 'set value', 'page_no', 1
